package com.project.yuepai.model;

import java.time.LocalDateTime;

public class User {
    private String userId;
    private String userName;
    private int userRole;
    private String nickName;
    private String phone;
    private String loginPwd;
    private String email;
    private int age;
    private boolean sex;
    private LocalDateTime registerDate;
    private String userIconPath;
//    private String userAddress;
//    private String signature;
//    private String birthday;
//    private double logitude;
//    private double latitude;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

//    public String getUserPhone() {
//        return userPhone;
//    }

//    public void setUserPhone(String userPhone) {
//        this.userPhone = userPhone;
//    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

//    public String getUserEmail() {
//        return userEmail;
//    }

//    public void setUserEmail(String userEmail) {
//        this.userEmail = userEmail;
//    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    //    public String getUserAddress() {
//        return userAddress;
//    }

//    public void setUserAddress(String userAddress) {
//        this.userAddress = userAddress;
//    }

    public String getUserIconPath() {
        return userIconPath;
    }

    public void setUserIconPath(String userIconPath) {
        this.userIconPath = userIconPath;
    }

//    public String getSignature() {
//        return signature;
//    }

//    public void setSignature(String signature) {
//        this.signature = signature;
//    }
//
//    public String getBirthday() {
//        return birthday;
//    }
//
//    public void setBirthday(String birthday) {
//        this.birthday = birthday;
//    }
//
//    public double getLogitude() {
//        return logitude;
//    }
//
//    public void setLogitude(double logitude) {
//        this.logitude = logitude;
//    }
//
//    public double getLatitude() {
//        return latitude;
//    }
//
//    public void setLatitude(double latitude) {
//        this.latitude = latitude;
//    }

    public LocalDateTime getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(LocalDateTime registerDate) {
        this.registerDate = registerDate;
    }


    public int getUserRole() {
        return userRole;
    }

    public void setUserRole(int userRole) {
        this.userRole = userRole;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", userRole=" + userRole +
                ", nickName='" + nickName + '\'' +
                ", phone='" + phone + '\'' +
                ", loginPwd='" + loginPwd + '\'' +
                ", email='" + email + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", registerDate=" + registerDate +
                ", userIconPath='" + userIconPath + '\'' +
                '}';
    }
}
